FROM centos:8
RUN rm -Rf /etc/yum.repos.d/*
ADD ./config/Centos-8.repo /etc/yum.repos.d
ADD ./config/epel.repo /etc/yum.repos.d
RUN yum install -y epel-release && yum makecache
RUN yum install -y git gcc-c++ vim python36 python36-devel \
    python3-pip wget curl make autoconf automake unzip sshpass net-tools nc \
    dstat libtool openssl-devel bash-completion lsof htop 

RUN mkdir -p /root/.pip
ADD ./config/pip.conf /root/.pip

WORKDIR /opt